<template>
  <div class="sona">
    <SonB :num="msg" />
    <!-- <button @click="btnClick">发送信息sonb</button> -->
  </div>
</template>
<script>
import SonB from './sonB.vue'
export default {
  components: {
    SonB
  },
  data() {
    return { msg: 222 }
  }
  // methods: {
  //   btnClick() {
  //     this.$emit('atob', Date.now())
  //   }
  // }
}
</script>
<style lang="scss" scoped>
.sona {
  width: 300px;
  height: 300px;
  border: 5px solid red;
}
</style>
